package
{
	public class IntroChatter
	{
		private var chatterArray:Array = 
			["Checking memory............................DONE\n",
			"RUN /usr/bin/GWT/mmmad...................\n\n",
			"---------------M.M.M.A.D.---------------                \n",
			"Network uplink.................ACTIVE\n",
			"Querying active assets...................DONE\n",
			"WARNING: Worldwide asset concentration has reached critical levels.\n",
			"Loading translation module..........DONE\n",
			"Establishing fail-safe procedures...............ERROR\n",
			"WARNING: fail-safe procedures disabled.\n",
			"                          \n",
			"Welcome to M.M.M.A.D. Please login.\n"]
			
		private var index:Number;
		
		public var lenght:Number;
		
		public function IntroChatter()
		{
			index=0;
			lenght = chatterArray.length;
		}
		
		public function getNext():String
		{
			if (index < lenght)
			{	
				var next:String = chatterArray[index];
				index++;
				return next;			
			}
			else return "";
			
		}
		
	}
}